﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchPerson.ascx.vb" Inherits="WebForm_ManageVolunteer_SearchPerson" %>
<table>
    <tr>
        <td align="right">
            <asp:Label ID="lblOrganizationID" runat="server" meta:resourcekey="lblOrganizationID"></asp:Label>
        </td>
        <td align="left">
            <My:MyDropDownList ID="ddlOrganizationID" runat="server" AutoPostBack="false" AppendPleaseChooseItem="true">
            </My:MyDropDownList>
        </td>
        <td>
            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
        </td>
    </tr>
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" meta:resourcekey="gv" AllowPaging="true"
    AllowHoverSelect="false" DataKeyNames="PersonID">
    <Columns>
        <asp:BoundField DataField="PersonID" meta:resourcekey="bfPersonID" />
        <asp:BoundField DataField="PersonName" meta:resourcekey="bfPersonName" />
        <%--<asp:BoundField DataField="OrganizationName" meta:resourcekey="bfOrganizationName" />--%>
        <asp:BoundField DataField="POrganizationName" meta:resourcekey="bfPOrganizationName" />

        <asp:TemplateField>
            <itemtemplate>
                <asp:LinkButton ID="lknEdit" CommandName="Update" runat="server" meta:resourcekey="lknEdit"></asp:LinkButton>
            </itemtemplate>
        </asp:TemplateField>
    </Columns>
</My:MyGridView>